<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登陆</title>
<link rel="stylesheet" href="/skin/html.css" type="text/css" />
<link rel="stylesheet" href="/skin/main.css" type="text/css" />
<link rel="stylesheet" href="/skin/sform.css" type="text/css" />
<style type="text/css">
/* 表单 */
#wrap{height:360px;}
.sform .inline label{width:100px;}
.sform .textput{width:260px;height:20px;}
.sform .tips{float:none; padding:8px 0px 12px 110px; clear:both; font-size:12px; color:#888;}
.sform .cimg{margin-top:-8px;margin-left:10px}
.sform .alert{display:none}
.rem{margin-left:30px;}
.errmsg{margin:20px auto;padding:14px 40px;border:1px solid #CCC;text-align;center;color:red}
</style>
<script type="text/javascript">
function loginCheck(form)
{
	if (form.email.value == "") {
		document.getElementById("t_email").style.display = "block";
		form.email.focus();
		return false;
	} else {
        document.getElementById("t_email").style.display = "none";
    }
	if (form.password.value == "") {
		document.getElementById("t_password").style.display = "block";
		form.password.focus();
		return false;
	}
}
</script>
</head>
<body>
<!--头部_start-->
<div id="header">
<div id="ttwrap">
	<div class="logo"><a href="#index"><img src="/skin/images/logo_2.gif" /></a></div>
	<div class="leader"></div>
	<div class="sub">
        <!--
		<a href="">登陆</a>
		<a href="">注册</a>
        -->
        <!--
		<form name="searchForm" method="post" action="">
		<input type="text" name="skw" class="textput" />
		<input type="submit" value="搜索" class="searchbnt" value="搜索" />
		</form>
        -->
	</div>
</div>
</div>

<!--头部结束_end-->

<!--Main__Start-->
<div id="wrap">
<div id="ccwrap">
	<div class="mtitle">
		<span class="tt">会员登录</span>
		<!--<span><a href="./register.html">我要注册 &gt;</a></span>-->
	</div>
	<div class="mcon">
    <?php if ($this->errMsg) {?>
    <div class="errmsg"><?php echo $this->errMsg?></div>
    <?php }?>
	<form class="sform" name="loginForm" method="post" action="/account/login" onsubmit="return loginCheck(this)">
	<fieldset class="inline">
		<div class="field">
			<label>你的邮箱</label>
			<input type="text" name="email" class="textput" value="<?php echo $this->email?>" />
			<p class="alert" id="t_email">请输入您的邮箱地址</p>
		</div>
		<div class="field">
			<label>登录密码</label>
			<input type="password" name="password" class="textput" />
			<p class="alert" id="t_password">请输入您的密码</p>
		</div>
		<div class="field">
			<input type="submit" value="登录" class="regbnt" />
            <input type="checkbox" name="rem" value="1" class="rem" checked /> <span class="note">两周内自动登陆</span>
		</div>
	</fieldset>
	</form>
	</div>
</div>
</div>
<!--Main__End-->


<!--页脚_start-->
<div id="footer">
	<div class="about">
	<ul>
		<li><a href="#about">About</a></li>
		<li><a href="#sitemap">SiteMap</a></li>
	</ul>
	</div>
	<div class="copy">mouxa.com&copy;shuky2000#163.com</div>
</div>

<!--页脚_end-->
</body>
</html>